import Layout from '@/layout'

export const serviceRoutes = {
    path: '/service',
    name: 'service',
    meta: {
      title:"고객센터",
    },
    redirect: '/service/notice',
    component: Layout,
    children: [
      {
        path: '/service/notice',
        name: 'serviceNotice',
        meta: {
          title:"공지사항",
        },
        component: () => import("@/views/service/notice.vue")
      },
      {
        path: '/service/noticeView',
        name: 'serviceNoticeView',
        meta: {
          title:"공지사항",
          isHide:true
        },
        component: () => import("@/views/service/noticeView.vue")
      },
      {
        path: '/service/FQA',
        name: 'serviceFQA',
        meta: {
          title:"자주묻는질문",
        },
        component: () => import("@/views/service/FQA.vue")
      },
      {
        path: '/service/QNA',
        name: 'serviceQNA',
        meta: {
          title:"질문과 답변",
        },
        component: () => import("@/views/service/QNA.vue")
      },
      {
        path: '/service/QNAview',
        name: 'serviceQNAview',
        meta: {
          title:"질문과 답변",
          isHide:true
        },
        component: () => import("@/views/service/QNAview.vue")
      },
      {
        path: '/service/QNAwrite',
        name: 'serviceQNAwrite',
        meta: {
          title:"질문과 답변",
          isHide:true
        },
        component: () => import("@/views/service/QNAwrite.vue")
      },      
    ]
  }
  
export default serviceRoutes